package com.zuoshenge.main.service;

import com.zuoshenge.main.dao.AcademyDao;
import com.zuoshenge.main.entity.Academy;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class AcademyService {

    @Resource
    private AcademyDao academyDao;

    public List<Academy> queryAll() {
        return academyDao.queryAll();
    }
}
